
Route::group(function () {
    //抽奖
        Route::get("/prize_index", "app\api\controller\Prize@index")->name("prize.prize_index");// 抽奖首页
        Route::post("/prize_draw", "app\api\controller\Prize@draw")->name("prize.prize_draw");// 抽奖
        Route::get("/prize_log", "app\api\controller\Prize@prize_log")->name("prize.prize_log");// 抽奖记录
        Route::post("/prize_save", "app\api\controller\Prize@set_data")->name("prize.prize_save");// 抽奖留资
    })
->allowCrossDomain()
->middleware(\app\api\middleware\TokenMiddleware::class,true);// jwt认证